#ifndef _MATHRULECONSTANT_H_
#define _MATHRULECONSTANT_H_

namespace MathRuleConstant
{
    static const double MAXLENGTH = 100;
    static const double MAXWIDTH = 75;
    static const double MINLENGTH = 0;
    static const double MINWIDTH = 0;
    static const double MAXSQUAREWIDTH = 75;
    static const double MINSQUAREWIDTH = 0;
    static const unsigned int ROUNDRATE = 100;
  
    double roundBig(double input);
    double roundSmall(double input);
    bool checkRange(double input,double min, bool equalMin,double max, bool equalMax);
    bool checkRangeMin(double input, double min, bool equalMin);
    bool checkRangeMax(double input, double max, bool equalMax);
};

#endif

